package com.jrx.anytxn.param.mapper.ext;

import com.jrx.anytxn.param.entity.TlThirdBillSummary;
import com.jrx.anytxn.param.mapper.base.TlThirdBillSummaryMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ExtTlThirdBillSummaryMapper extends TlThirdBillSummaryMapper {

    /**
     * 根据业务日期删除
     *
     * @param businessDate Date
     * @return int
     */
    int deleteByBusDate(@Param("businessDate") Date businessDate,@Param("thirdChannel") String thirdChannel);

    /**
     * 根据业务日期删除
     *
     * @param businessDate Date
     * @return int
     */
    List<TlThirdBillSummary> selectByTenantIdAndBusDate(Date businessDate , String tenantId ,String thirdChannel);

}